import request from '@/utils/request'

// 查询分页部门信息
export const getDepartmentListApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/set/page', { params })

// 部门能耗考核-能耗定额
export const getEnergyDataApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/assess/data/forms', { params })

// 部门能耗考核-能耗定额曲线
export const getEnergyLineApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/assess/data/each/line', { params })

// 部门能耗考核-能耗指柱状图
export const getEnergyZBLineApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/assess/data/index/line', { params })

// 部门能耗考核-能耗指标列表
export const getEnergyZBListApi = (params) =>
  request.get('/ecm-microservice-biz/ecm/department/energy/assess/data/index/list', { params })
